#include "cat.h"

#include <iostream>
#include <string>

using std::string;

namespace Animal {

Cat::Cat() { std::cout << "----- Cat() constructor -----" << std::endl; }

Cat::Cat(string catName) : Animal(catName) {
  std::cout << "----- Cat(string) constructor -----" << std::endl;
}

Cat::~Cat() { std::cout << "----- Cat destructor -----" << std::endl; }

string Cat::Play() { return name + "在舔毛"; }

string Cat::getShoutSound() { return "喵"; }

}  // namespace Animal